package de.hauschild.dbc4j;

/**
 * A {@link MalformedContractException} is thrown every time if a contract expression has not the type {@link Boolean}
 * or a error occurs during the evaluation.
 * 
 * @author Klaus Hauschild
 * @since 1.0.0
 */
public class MalformedContractException extends RuntimeException {

  private static final long serialVersionUID = -8985999611854469373L;

  /**
   * Instantiates a new {@link MalformedContractException}.
   * 
   * @param theMessage
   *          the message
   * @param theCause
   *          the cause
   */
  public MalformedContractException(final String theMessage, final Throwable theCause) {
    super(theMessage, theCause);
  }
}
